<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>04-条件判断</title>
</head>
<body>
<script>
    var score = 88;
    if (score >= 90) {
        console.log("A")
    }
    else if (score >= 80) {
        console.log("B")
    }
    else if (score >= 60) {
        console.log("C")
    }
    else {
        console.log("不及格")
    }
</script>
</body>
</html>